﻿<%@ Page Title="商品展示" Language="C#" MasterPageFile="~/mainframe.master" AutoEventWireup="true" CodeFile="bookshow.aspx.cs" Inherits="bookshow" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="css/bassic.css" rel="stylesheet" type="text/css" />
<link href="css/bookshow.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="bokkshowmain">
    <div id="bookshowleft">
      <h2>浏览更多同类商品</h2>
      <ul>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
        <li>禅意地栖居：心理咨询师的</li>
      </ul>
      <div class="visitedmore"><a href="#">浏览更多</a></div>
    </div>
    <div id="bookshowright">
    <% DataSetTableAdapters.tb_BookTableAdapter adaper = new DataSetTableAdapters.tb_BookTableAdapter();
                             DataSet.tb_BookDataTable dataTable = new DataSet.tb_BookDataTable();
                             dataTable = adaper.SearchBookByID(Convert.ToInt32(Request.QueryString["bookID"]));
                             
    %>
      <div id="booktheme"><% Response.Write(dataTable[0].BookName); %></div>
      <div>
        <div id="showpic"><img src="images/book1.jpg" /> </div>
        <div id="showinf">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td colspan="3">学子苑价：<span class="showprice">￥<% Response.Write(dataTable[0].Price.ToString()); %></span></td>
            </tr>
            <tr>
              <td colspan="3">定价：￥34.8&nbsp;</td>
            </tr>
            <tr>
              <td colspan="3">折扣：<span class="zhekou">62折</span></td>
            </tr>
            <tr>
              <td colspan="3" class="pinglunfont">已有<span>1234</span>人评论</td>
            </tr>
            <tr>
              <td colspan="3">库存：<% Response.Write(dataTable[0].StoreNum.ToString()); %></td>
            </tr>
            <tr>
              <td colspan="3">作者：<% Response.Write(dataTable[0].Author); %></td>
            </tr>
            <tr>
              <td colspan="3">出版社：<span class="pinglunfont"><% Response.Write(dataTable[0].Publish); %></span></td>
            </tr>
            <tr>
              <td colspan="3">出版时间：<% Response.Write(dataTable[0].PublishDate.ToString()); %></td>
            </tr>
            <tr>
              <td width="39%">版次：1</td>
              <td width="39%">页数：500</td>
              <td width="22%">字数：20000</td>
            </tr>
            <tr>
              <td>印刷时间：2011-5-4</td>
              <td>开本：32开</td>
              <td>纸张：胶版纸</td>
            </tr>
            <tr>
              <td colspan="2">ISBN：<% Response.Write(dataTable[0].ISBN); %></td>
              <td>印次：1</td>
            </tr>
          </table>
        </div>
        <div id="showbuy"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <p>我要买：<input  type="text" id="buynum"/>件</p>
 
  <tr>
    <td width="34%" height="97"><a href="#"><img src="images/showbuybtn.png" alt="buy" width="124" height="38" /></a></td>
    <td width="66%"><a href="#"><img src="images/showfavorbtn.png" alt="favor" width="124" height="38"  /></a></td>
  </tr>
</table>
</div>
      </div>
    </div>
  </div>
    </asp:Content>

